//
//  OrderDetailCell.h
//  JiongTu
//
//  Created by 杨璟 on 16/3/29.
//  Copyright © 2016年 YSKJ. All rights reserved.
//

#import <UIKit/UIKit.h>

@class OrderDetailCell, JTDriverTrip, JTPassengerTrip;

@protocol OrderDetailCellDelegate <NSObject>
@optional
- (void)closeButtonDidClick:(NSIndexPath *)cellIndexPath;
- (void)findSamePassengerTrip:(id)trip;
- (void)deletePassengerTrip:(id)trip;
- (void)payForTrip:(JTPassengerTrip *)trip;
- (void)passengerIconClick:(id)trip;
- (void)passengerIconClick:(JTPassengerTrip *)passtrip withDriverTrip:(JTDriverTrip *)driverTrip;
- (void)catchedBtnClick:(JTDriverTrip *)driverTrip;

@end

@interface OrderDetailCell : UITableViewCell

@property (nonatomic, weak) id<OrderDetailCellDelegate> delegate;

@property (nonatomic, strong) NSIndexPath *indexPath;

@property (nonatomic, strong) id trip;

@end
